@import "@/base.scss";

page {
  height: 100%;
  box-sizing: border-box;
}

.index {
  width: 100%;
  height: calc(100vh);
  position: relative;

  .top {
    width: 100%;
    // height: 250px;
    height: 17%;
    margin: 0 auto;
    background-color: #000;
    overflow: hidden;

    .top-model {
      height: 170px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin: 20px 20px;
      margin-top: 60px;
      background-color: #f8f8f8;
      border-top-right-radius: 25px;
      border-top-left-radius: 25px;

      .avator {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        margin-left: 30px;

        image {
          width: 90px;
          height: 90px;
          border-radius: 50%;
        }
      }

      .nickName {
        margin-left: 30px;
        margin-right: auto;
        color: #333;

        .userName {
          font-family: ".PingFang SC";
          font-size: 32px;
          font-weight: 800;
        }

        .desc {
          font-family: ".PingFang SC";
          font-size: 24px;
          font-weight: 300;
        }

        .round {
          font-family: ".PingFang SC";
          font-size: 24px;
          font-weight: 300;
          margin-top: 10px;
        }
      }

      .edition {
        background-image: linear-gradient(to right, #f4dcb5, #e7bb64);
        padding: 0px 20px;
        font-size: 28px;
        color: #333;
        font-weight: 800;
        border-radius: 30px;
        margin-right: 30px;
      }

      .nothing {
        background-color: #fff;
        padding: 0px 20px;
        font-size: 28px;
        color: #333;
        font-weight: 800;
        border-radius: 30px;
        margin-right: 30px;
      }
    }

    .top-model-bck {
      background: url("https://leconglive-wxapp-1301839528.file.myqcloud.com/wxIcon/service_bck.png") left top no-repeat;
      background-size: 100% 100%;
    }
  }

  // 套餐对应的功能
  .main-model {
    // margin-top: 230px;
    position: absolute;
    bottom: 0;
    height: 85%;
    width: 100%;
    background-color: #f8f8f8;
    border-radius: 30px;

    .at-tabs {
      border-radius: 30px;

      .at-tabs__item {
        font-size: 28px;
        font-family: ".PingFang SC";
        padding: 24px 0;
        padding-right: 20px;
        font-weight: 400;
        color: #999;
        overflow: visible;
      }

      .at-tabs__item--active {
        font-weight: 800;
        color: #333;
      }

      .at-tabs__item-underline {
        position: absolute;
        left: 40%;
        bottom: 0;
        width: 20%;
        height: 6px;
        background-color: #e7bb64;
        border-radius: 30px;
      }

      .main-ability {
        padding: 30px;

        .main-title {
          font-size: 28px;
          font-family: ".PingFang SC";
          font-weight: 600;
          margin-bottom: 10px;
        }

        .contentMsg {
          width: 100%;
          height: 500px;


          .ability {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            color: #333;

            .ability-item {
              box-sizing: border-box;
              width: 33.3%;
              min-height: 100px;
              padding: 5px;
              border: 1px solid #eee;
              position: relative;

              .item {
                width: 100%;
                min-height: 120px; 
                margin-top: 10px;
                display: flex;
                justify-content: flex-start; 

                .ability-item-img {
                  width: 50px;
                  height: 50px;
                  margin-right: 5px;
                }

                .ability-item-name {
                  font-size: 28px;
                  font-weight: 800;
                  font-family: ".PingFang SC";
                }
              }

              .ability-item-desc {
                width: 100%;
                font-size: 24px;
                font-weight: 300;
                font-family: ".PingFang SC";
                padding: 10px;
                position: absolute;
                top: 0px;
                left: 0;
                z-index: 60;
                display: none;
              }
            }

            // .ability-item:hover {
            //   color: red;
            // }

            .ability-item:hover .ability-item-desc {
              display: block;
            }
          }
        }
      }
    }
  }

  //去掉scrollView滚动条
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
  }

  // 激活码按钮
  .activation-code {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: 90%;
    height: 80px;
    border-radius: 50px;
    background-image: linear-gradient(to right, #f4dcb5, #e7bb64);
    transform: translate(-50%, 0);
    font-size: 32px;
    font-family: ".PingFang SC";
    font-weight: 400;
    line-height: 80px;
    text-align: center;
  }

  .scroll-view {
    width: 100%;
    height: 230px;
    white-space: nowrap;

    .scroll-item:first-child {
      margin-left: 20px;
    }

    .scroll-item {
      display: inline-flex;
      width: 175px;
      height: 195px;
      justify-content: center;
      border: 1px solid #e8e8e8;
      border-radius: 10px;
      margin: 0 30px; 

      .item-style { 
        flex-direction: column;
        justify-content: center; 
        font-family: ".PingFang SC";
        text-align: center; 
 
        .item-time {
          font-size: 28px;
          color: #333;
          font-weight: 600;
        }

        .item-price {
          color: #e7bb64;
          font-size: 24px;
        }

        .item-del {
          color: #999;
          font-size: 24px;
          text-decoration: line-through;
        }

        .item-discount {
          text-align: center;
          margin: 0 auto;
          width: 120px;
          font-size: 16px;
          color: #fff;
          font-weight: 300;
          background-image: linear-gradient(to right, #f4dcb5, #e7bb64);
          border-radius: 20px;
        }
      }
    }

    .scroll-item1 {
      display: inline-flex;
      width: 175px;
      height: 195px;
      justify-content: center;
      border: 1px solid #e8e8e8;
      border-radius: 10px;
      margin: 20px 30px;

      .itemStyle {
        justify-content: center;
        font-family: ".PingFang SC";
        text-align: center;

        .item-num {
          font-size: 42px;
          color: #e7bb64;
          font-weight: 600;
          font-family: PingFang SC;
          margin-top: 10px;

          .site {
            font-size: 32px;
            font-family: PingFang SC;
            font-weight: 400;
            line-height: 40px;
            color: #333333;
            opacity: 1;
          }
        }

        .item-price {
          font-size: 32px;
          font-family: PingFang SC;
          font-weight: 300;
          line-height: 19px;
          color: #999999;
          margin-top: 15px;
          opacity: 1;
        }
      }
    }

    //   .scroll-item1 .item-num:last-child {
    //    font-size: 42px !important; 
    // }

    .currentNum {
      font-size: 42px !important;
      color: #e7bb64;
    }

    .current-item {
      background-color: #fffaeb;
      border: 1px solid #e7bb64;
      border-radius: 10px;
    }
  }

  .price-content {
    margin-bottom: 80px;
  }

  // 升级按钮
  .pay-price {
    position: relative;
    // bottom: 0px;
    top: 30px;
    left: 50%;
    width: 90%;
    height: 80px;
    border-radius: 50px;
    background-image: linear-gradient(to right, #f4dcb5, #e7bb64);
    transform: translate(-50%, 0);
    font-size: 32px;
    font-family: ".PingFang SC";
    font-weight: 500;
    line-height: 80px;
    text-align: center;
  }

  .at-modal__container {
    .at-modal__content {
      min-height: 100px;
    }

    .content-simple {
      font-size: 32px;
      font-family: PingFang SC;
      font-weight: 300;
      color: #333333;
      opacity: 1;
      text-align: center;
    }

    .at-modal__footer .at-modal__action>button:last-child {
      color: #D20202;
    }
  }

  .at-input {
    width: 460px;
    height: 80px;
    margin: 0 auto;
    background: #F7F7F7;
    padding: 0;
    border: solid #d6e4ef 1px;

    .at-input__container {
      width: 460px;
      height: 80px;
      line-height: 80px;
      margin-left: 30px;
    }
  }
}
